const Layout = () => import('@/layout/index.vue')
const Region = () => import('@/views/base/region.vue')
const ProductUnit = () => import('@/views/base/productUnit.vue')

export default [
  {
    path: '/base',
    component: Layout,
    name: 'base',
    meta: {
      title: '基础数据管理',
    },
    icon: 'Menu',
    children: [
      {
        path: '/region',
        name: 'region',
        component: Region,
        meta: {
          title: '地区管理',
        },
      },
      {
        path: '/productUnit',
        name: 'productUnit',
        component: ProductUnit,
        meta: {
          title: '商品单位',
        },
      },
    ],
  },
]
